package com.deep.deepenterpise.common.redis;

/**
 * @author xyz
 * @description TODO 这是一个模板
 * @time 2024/4/18 11:34
 */
public class GasKey extends BaseRedisKeyPrefix {

    public static final GasKey LOGIN_TOKEN_KEY = new GasKey(15 * 60, "gas:token:");

    private GasKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public GasKey withExpire(int expireSeconds) {
        this.setExpireSeconds(expireSeconds);
        return this;
    }

    public GasKey withSuffix(String suffix) {
        this.setSuffix(suffix);
        return this;
    }
}
